package com.xwj.dao;

import com.xwj.entity.RaRoot;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Created by thinkjoy on 2017/7/12.
 */
@Mapper
public interface RaRootDao {
    List<RaRoot> findAllRoot();

    RaRoot findRootById(int id);

    List<RaRoot> findRootByIds(List ids);

    int addRoot(Map<String, Object> map);

    int updateRootById(RaRoot raRoot);

    int deleteRootById(int id);
}
